#include "StdAfx.h"
#include "GroundRegulator.h"


CGroundRegulator::CGroundRegulator(void)
{
}

CGroundRegulator::CGroundRegulator( const CGroundRegulator* pEntityObj )
	:CGroundUnit(pEntityObj)
{

}


CGroundRegulator::~CGroundRegulator(void)
{
}

void CGroundRegulator::Serialize( CArchive & ar )
{
	throw std::exception("The method or operation is not implemented.");
}

void CGroundRegulator::Clear()
{
	throw std::exception("The method or operation is not implemented.");
}

void CGroundRegulator::CopyDisplayObj( long lSourceLayerId, long lDestLayerId )
{
	CEntityObj::CopyDisplayObj(lSourceLayerId,lDestLayerId);
}

void CGroundRegulator::DeleteDisplayObj( long lLayerId )
{
	CEntityObj::DeleteDisplayObj(lLayerId);
}

CDisplayObj * CGroundRegulator::CreateDisplayObj( long lLayerId )
{
	CGroundRegulatorDisObj* pRegulatorDis = new CGroundRegulatorDisObj(this);
	pRegulatorDis->SetLayerId(lLayerId);
	return pRegulatorDis;
}

CObj * CGroundRegulator::Clone() const
{
	return new CGroundRegulator(this);
}

void CGroundRegulator::Transform( const CMatrix transf )
{
}

bool CGroundRegulator::GetBox( double & dblLeft, double & dblBottom, double & dblRight, double & dblTop ) const
{
	return false;
}

eGroundUnitEntType CGroundRegulator::GetGroundUnitType() const
{
	return GROUND_REGULATOR;
}
